package com.acme.bankapp.mail;

import com.acme.bankapp.domain.bank.Client;

public class EMail {
    private String name;
    private String email;
    private boolean stop;
    
    public EMail() {
    	stop = false;
    }    
    
    public EMail(Client client) {
        name = client.getName();
        email = client.getEmail();
        stop = false;
    }
    
    public boolean isStop() {
		return stop;
	}

	public void setStop(boolean stop) {
		this.stop = stop;
	}

	@Override
    public String toString() {
        return name + ": " + email;
    }

}
